package ca.venasse.pinventory.inventory.command;

import org.axonframework.domain.AggregateIdentifier;

import ca.venasse.pinventory.inventory.common.CategoryIdentifier;
import ca.venasse.pinventory.inventory.common.PartIdentifier;
import ca.venasse.pinventory.inventory.common.PartName;

public class AddPart {

	private final AggregateIdentifier aggregateIdentifier;
	private final CategoryIdentifier categoryIdentifier;
	private final PartName name;
	private final PartIdentifier partIdentifier;

	public AddPart(AggregateIdentifier aggregateIdentifier, CategoryIdentifier categoryIdentifier,
			PartIdentifier partIdentifier, PartName name) {
		this.aggregateIdentifier = aggregateIdentifier;
		this.categoryIdentifier = categoryIdentifier;
		this.partIdentifier = partIdentifier;
		this.name = name;
	}

	public AggregateIdentifier getAggregateIdentifier() {
		return this.aggregateIdentifier;
	}

	public CategoryIdentifier getCategoryIdentifier() {
		return this.categoryIdentifier;
	}

	public PartName getName() {
		return this.name;
	}

	public PartIdentifier getPartIdentifier() {
		return this.partIdentifier;
	}

}
